package com.project.communitymanagement.common;

import java.util.List;

/**
 * @ProjectName: hotelNew
 * @Package: com.setup.mysql.common
 * @ClassName: BaseMapper
 * @Author: "XGP"
 * @Description:
 * @Date: 2021/09/13 11:31
 * @Version: 1.0
 */
public interface BaseMapper<T> {
    List<T> getPage(Page<T> data);
    int getTotal(Page<T> data);
    int updateByPrimaryKeySelective(T record);
    int deleteByPrimaryKey(Integer id);
    int insert(T record);
    int insertSelective(T record);
    T selectByPrimaryKey(Integer id);
    int updateByPrimaryKey(T record);
}
